package com.aspose.cells;

class zbsk extends zbz {
   zbsk(TableStyle var1) {
      this.c(2191);
      this.b(20);
      if (var1.getName() != null) {
         this.b(this.d() + (short)(var1.getName().length() * 2));
      }

      this.c = new byte[this.d()];
      this.c[0] = -113;
      this.c[1] = 8;
      byte[] var10000 = new byte[]{-1, -1, -1, -1};
      byte var3 = 0;
      if (var1.b()) {
         var3 = (byte)(var3 | 2);
      }

      if (var1.c()) {
         var3 = (byte)(var3 | 4);
      }

      this.c[12] = var3;
      TableStyleElementCollection var4 = var1.getTableStyleElements();
      System.arraycopy(com.aspose.cells.b.a.zc.a(var4.getCount()), 0, this.c, 14, 4);
      byte var5 = 20;
      if (var1.getName() != null) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getName().length()), 0, this.c, 18, 2);
         byte[] var6 = Encoding.getUnicode().a(var1.getName());
         System.arraycopy(var6, 0, this.c, var5, var6.length);
      }

   }
}
